<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Twin Tulipware</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<?php $this->load->helper('HTML');
echo link_tag('css/style2.css');
echo link_tag('images/favicon.ico','shortcut icon','image/x-icon');
?></head>
<body>
<div id="wrapper">
	<?php $this->load->view('admin_views/header'); ?><hr />
	<!-- end #logo -->
	
		<!-- end #menu -->
		<!-- end #search -->
	</div>
	<!-- end #header -->
	<!-- end #header-wrapper -->
	<div id="page">
	<div id="page-bgtop">
		<div id="content">
			<div class="post">
				<h2 class="title">Daftar Dealer</h2>
				
		  <table width="90%" border="0" cellpadding="1" cellspacing="1" id="data" align="center">
        <thead>
        <tr  align="center" class="table" >
           <th >NO</th>
            <th >NAMA</th>
            <th >UPLINE</th>
            <th >UNIT</th>

			<th >WILAYAH</th>
			<th >AKSI</th>
        </tr>
    </thead>
    <tbody>
	
    <!-- ============isi ============ -->
		
		<?php 
			$i=1;
			foreach($dealer as $m) : 
			
		?>
        
      	<tr class='data' align='center'>
      	  <td >&nbsp;</td>
      	  <td align='left'>&nbsp;</td>
      	  <td align='left'>&nbsp;</td>
      	  <td align='left'>&nbsp;</td>
      	  <td align='left'>&nbsp;</td>
      	  <td align="center">&nbsp;</td>
    	  </tr>
      	<tr class='data' align='center'>
			<td ><?php echo $i++; ?></td>
			<td align='left'>&nbsp;<?php echo $m->strnama_dealer; ?></td>
            <td align='left'>&nbsp;<?php echo $m->strnama_upline; ?></td>
            <td align='left'>&nbsp;<?php echo $m->strnama_unit; ?></td>
            <td align='left'><?php echo $m->strnama_unit; ?></td>
            <td align="center" width="190px"><input type="checkbox" name="checkbox" id="checkbox" /></td>
        </tr>
		<?php endforeach; ?> 
    </tbody>
</table>
		  <table width="90%" border="0" cellpadding="1" cellspacing="1" id="data" align="center">
  <tr>
    <td align="left" ><?php echo $pagination; ?></td>
    <td align="right" style="width:75%" ></td>
  </tr>
</table>
		  </div>
			</div>
		<!-- end #content -->
		<?php $this->load->view('admin_views/sidebar_laporan'); ?><!-- end #sidebar -->
		<div style="clear: both;">&nbsp;</div>
	</div>
	</div>
	<!-- end #page -->
	<div id="footer-bgcontent">
	<?php $this->load->view('admin_views/footer'); ?></div>
	<!-- end #footer -->

</body>
</html>
